/**
 * OTD 供应商送货及时率数据格式
 */
export interface otd {
    period: string,
    childs: otd_customer[]
}
/**
 * OTD子集
 */
export interface otd_customer {
    type: string,
    userID: string,
    userName: string,
    rate: number
}

/**
 * QC质检不合格通知
 */
export interface qc {
    partid: string,
    partname: string,
    amount: number,
    qc: string,
    create: string,
    content: string
}
/**
 * 风险提醒
 */
export interface risk {
    partid: string,
    partname: string,
    type: string,
    content: string,
    createdt: string
}

/**
 * 预约日期时间段对象
 */
export interface reservation {
    id: string,
    start: string,
    end: string,
    window: string,
    max: number,
    rest: number
}

/**
 * 送货情况
 */
export interface store {
    title: string,
    amount:number,
    icon: string,
    items: store_item[]
}
/**
 * 订单明细嗲订单号（送货用）
 */
export interface store_item {
    rcvid: string,
    partid: string,
    rcvdate: string,
    place: string,
    amount: number,
}

/**
 * 订单
 */
export interface order {
    rcvid: string,
    partid:string,
    partname:string,
    place:string,
    time:string,
    creater:string,
    childs: order_item[]
}

/**
 * 订单详情
 */
export interface order_item {
    partid: string,
    partname: string,
    specs: string,
    amount: number,
    unit: string
}